BigCommerce\Rest\Shipping_Controller S

Total Complexity 22
Dependencies 11
Dependents 1
Total lines 241
Lines of code 154
Logical lines of code 64
Comment lines 43
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
cart_subtotal_for_method()
S
56 5 17
get_zone_methods()
S
49 4 31
get_cart()
S
57 3 18
get_zones()
S
56 2 20
register_routes()
S
54 1 23
get_rendered_zones_schema()
S
58 1 16
__construct()
S
72 1 5
js_config()
S
72 1 5
get_rendered_item_permissions_check()
S
82 1 3
format_price()
S
78 1 3
get_cart_id()
S
75 1 4
get_empty_cart()
S
66 1 9